package han;

import java.util.Scanner;

public class J05Ex36ComputeTime {

	public static void main(String[] args) {
		int d=86400;
		int h = 3600;
		int m = 60;
		
		Scanner sc=null;
		 sc = new Scanner(System.in);
		 System.out.println("초를입력하세요");
		 int sec = sc.nextInt();
		 int day= sec/d;
		 int hour= sec/h;
		 
		 int min= sec/m;
		 System.out.println(day+"일입니다");
		 System.out.println(hour+"시간입니다");
		 System.out.println(min+"분입니다");
		 /*
		 sec = sc.nextInt();
		 int hour= sec/h;
		 System.out.println(hour+"시간입니다");
		 
		 sec = sc.nextInt();
		 int min= sec/m;
		 System.out.println(min+"분 입니다");
		*/
		 sc.close();
	}

}
